﻿using System;
using System.Numerics;

    class FactorialOneToHundred
    {
        static BigInteger Factorial(int i)
    {
        BigInteger factorial = i;
        while (i > 0)
	    {
            factorial =factorial * i;
            i--;
	    }
        return factorial;   

    }
        static void CalculateFactorialOfN(int[] arr)
        {
            for (int i = 0; i < arr.Length; i++)
            {
                BigInteger factorial = Factorial(i);
                Console.WriteLine(factorial);
            }
        }

        static void Main(string[] args)
        {
            int[] arr = new int[100];
            for (int i = 0; i < arr.Length; i++)
            {
                arr[i] = i;
            }
            CalculateFactorialOfN(arr);
        }
    }

